﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GuanYijia.DoMain
{
    //请购单
    public class Requisition
    {
        [Key]
        //主键
        public int requisitionid {  get; set; }
        //商品id
        public int? productid { get; set; }
        //用户id
        public int userId { get; set; }
        [StringLength(200)]
        //单据编号
        public string? document_number {  get; set; }
        //单据日期
        public DateTime? document_date {  get; set; }
        //数量
        public int? quantity {  get; set; }
        //备注
        [StringLength(200)]
        public string? remark {  get; set; }
        //状态
        public bool? status {  get; set; }=false;
        //附件
        [StringLength(200)]
        public string? annex {  get; set; }

        public bool IsDel { get; set; } = false;
    }
}
